$OpenBSD: patch-configure_ac,v 1.2 2017/05/13 07:45:07 espie Exp $
Right, redefining bool in C++ is going to work wonders.

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -39,9 +39,7 @@ dnl Checks for programs
 dnl ===================================================================
 
 AC_PROG_CXX
-CXXFLAGS=`echo " $CXXFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
 AC_PROG_CC
-CFLAGS=`echo " $CFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
 AC_ISC_POSIX
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
@@ -166,8 +164,6 @@ fi
 
 dnl ===================================================================
 dnl Check for compiler characteristics
-
-DAST_CHECK_BOOL
 
 AC_C_BIGENDIAN
 
